trigger AT_Account on Account (after insert, after update)
{
    ID RT_Account_B2B = [select ID from RecordType r where SobjectType='Account' and DeveloperName='B2B' limit 1].ID;
    
    for(Account item:Trigger.new)
    {
        if(item.RecordTypeId==RT_Account_B2B)
        {
            AT_sendIntacctCallOut.main(item.ID, UserInfo.getSessionId());
        }
    }

}